package com.example.vocab.service;

import com.example.vocab.entity.MyWord;
import com.example.vocab.entity.Word;

import java.util.List;

public interface WordService {

    List<Word> getWord();
    Integer getFrequencyByWid(Integer wid);
    Integer addMyWord(int uid,int wid);
    Integer getWordByWid(int wid);
    List<MyWord> getMyWord(int uid);
    Word getUnKnow(int wid);
    int delMyWord(int uid,int wid);
    List<Word> getEasyWord(int e);
    List<Word> getMidWord(int m);
    List<Word> getHardWord(int h);
}
